/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.structural.bridge.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.structural.bridge.BigBus;
import za.ac.cput.DesignPatterns.structural.bridge.BigEngine;
import za.ac.cput.DesignPatterns.structural.bridge.SmallCar;
import za.ac.cput.DesignPatterns.structural.bridge.SmallEngine;

/**
 *
 * @author Nashief
 */
@Configurable
public class BridgeConf {
    
    @Bean 
    public BigBus bb(){
    return new BigBus();
    } 
    @Bean 
    public SmallCar sc(){
    return new SmallCar();
    }
    @Bean 
    public BigEngine bigengine(){
    return new BigEngine();
    }
    @Bean 
    public SmallEngine smallengine(){
    return new SmallEngine();
    }
}
